package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Permission;

public interface PermissionService {
    //分页查询
    public PageResult findAll(QueryPageBean queryPageBean);
    //新增
    public void add(Permission permission);
    //编辑
    public void edit(Permission permission);
    //用户回显
    public Permission findByIdWithPermission(Integer id);
    //删除
    public void delete(Integer id);

}
